package com.dys.entity;

/**
 * @className: com.dys.entity.User
 * @description: com.dys.entity
 * @author: pine cone
 * @version: v1.0.0
 * @createTime: 2024/10/21 22:10
 */
public class User {
    private int id;
    private String username;
    private String balance;

    public User() {
    }

    public User(int id, String username, String balance) {
        this.id = id;
        this.username = username;
        this.balance = balance;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getBalance() {
        return balance;
    }

    public void setBalance(String balance) {
        this.balance = balance;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", balance='" + balance + '\'' +
                '}';
    }
}
